package com.songcan.common.vo;


import lombok.Data;

import java.util.List;

@Data
public class DeptVO {

    private Long id;

    private String name;

    private Long parentId;

    private List<DeptVO> children;

    public void add(DeptVO node) {
        children.add(node);
    }
}
